<#assign base=request.contextPath />
<!doctype html>
<html style="font-size:50px;" ng-app="app">
<head>
    <meta charset="utf-8">
    <title>会员特权</title>
    <meta name="viewport" content="initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, user-scalable=no">
    <meta name="format-detection" content="telephone=no,email=no" />
    <link type="text/css" rel="stylesheet" href="${base}/css/repair.css" />
</head>
<body ng-controller="RepairCtrl">
		<input type="hidden" id="stid" value="${storeId}"/ >
		<input type="hidden" id="redirecturl" value="${redirecturl}"/ >
  <div class="body">
    <header>
        <img class="pc" src="${base}/img/repair_banner_pc.jpg">
        <img class="mobile" src="${base}/img/repair_banner.jpg">
    </header>
    <div class="repair-body">
        <div class="ad">
            <img src="${base}/img/repair_ad.jpg">
        </div>
        <div class="btn">延保查询</div>
        <div class="middle"></div>
        <table border="0" cellpadding="0" cellspacing="0">
            <tr>
                <th>保修时间</th>
                <th>购买型号</th>
                <th>延保申请</th>
                <th>产品类型</th>
                <th>序列号</th>
            </tr>
            <tr ng-repeat="product in products">
				<td>{{product.weExpDT.substring(0,10)}}</td>
				<td><div ng-repeat="code in product.productCategoryCode.split('+')" >{{code}}</div></td>
				<td><button ng-show="product.weStatus != 1" ng-click="applyExtend(product)">申请延保</button><button disabled ng-show="product.weStatus == 1">申请成功</button></td>
				<td>{{product.skuName|strfilter:""}}</td>
				<td>
					<div ng-repeat="code in product.weCodes.split(';')" >{{code}}</div>
				</td>
			</tr>
			<tr ng-if="!products || products.length == 0">
				<td colspan=5>没有产品记录</td>
			</tr>
        </table>    
    </div>
    <div class="block"></div>
    <div class ="repair-body notes">
        <h6>延保说明：</h6>
        <ul type="square">
            <li>三个月延保产品品类：洗/干衣机、冰箱、蒸/烤箱、洗碗机、微波炉、灶具、油烟机、消毒柜、对开门/多门/嵌入式冰箱</li>
             <li>三个月延保的适用人群范围：只针对新购机并在购机三个月内成功<a href="https://siemens.ews.m.jaeapp.com/profile/${storeId}?tabIndex=4">注册产品</a>的会员 </li>
              <li>三个月延保仅限整机保修，整机标准保修期为1年，此基础上延长三个月</li>
              <li>不符合以上资格的产品无法显示在延保查询页面，此权益仅限新购机并在会员中心注册产品的会员</li>
        </ul>
        <h6>使用流程：</h6>
        <ul type="square">
            <li>如机器需维修，在免费延保期限内拨打400-889-9999预约维修，技术员上门后展示短信凭证或者西门子天猫会员俱乐部-延保页面，即可享受免费延保。</li>
             <li>注意：报修的机器类型和型号必须与延保凭证中完全一致 </li>
              <li>*本活动规则如有缺漏，由西门子家电进行补充说明。</li>
        </ul>
       
    </div>
    <footer>
            <a href="${redirecturl}">返回首页</a>
    </footer>
		<div class="alert hide">
		  <div class="alert-body">
			<h6>提示</h6>
			<img src="${base}/img/alert.png" />
			<p>{{msg}}</p>
			<button>完成</button>
		  </div>
		</div>
		<div class="alert-error hide">
		  <div class="alert-body">
			<h6>提示</h6>
			<img src="${base}/img/alert_error.png" />
			<p>{{msg}}</p>
			<button>完成</button>
		  </div>
		</div>
    </div>
    <script type="text/javascript" src="${base}/js/lib/jquery.min.js"></script>
    <script type="text/javascript" src="${base}/js/lib/angular.min.js"></script>
    <script type="text/javascript" src="${base}/js/app/app.js"></script>
    <script type="text/javascript" src="${base}/js/app/service/apiService.js"></script>
    <script type="text/javascript" src="${base}/js/app/controller/repair.js"></script>
    <script type="text/javascript" src="${base}/js/app/service/filter.js"></script>
   
</body>